#ifndef YSLABEL_H
#define YSLABEL_H

#include <QLabel>
#include <QObject>
#include <QWidget>

class YSLabel : public QLabel
{
    Q_OBJECT
public:
     explicit YSLabel(QWidget *parent=nullptr);
     explicit YSLabel(const QString &text, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags());
signals:
protected:
    void showEvent(QShowEvent *event);
private:
    bool m_bFirst=true;
};

#endif // YSLABEL_H
